<%- include('../../common/header.html',{css:'common'}) %>
<%- include('../../common/script-validation.html') %>
<%- include('../../common/layer.html') %>
<script type="application/xhtml+xml" id="form-template">
    <form id="registrationForm" class="form-horizontal">
        <div class="form-group">
            <label class="col-xs-3 control-label">部门名称</label>
            <div class="col-xs-7">
                <input type="hidden" name="id" value="<$= typeof id !== 'undefined' ? id : '' $>" />
                <input type="text" class="form-control" name="name" placeholder="部门名称"
                <$= name !== '' ? "disabled" : "" $>
                value="<$= name == '' ? '' : name $>" />
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label">所在单位</label>
            <div class="col-xs-7">
                <select <$= typeof comid !== 'undefined' ? "disabled" : "" $> class="form-control" name="comid" title="选择单位">
                    <$
                        coms.forEach(function(item){

                    $>
                        <option <$
                    if(typeof comid !== 'undefined' && comid==item.id){
                $> selected
                <$}
                $> value="<$=item.id$>"><$=item.name $></option>
                      <$  })
                    $>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label">电话</label>
            <div class="col-xs-7">
                <input type="text" class="form-control" placeholder="电话" name="tel"
                       value="<$= typeof tel !== 'undefined' ? tel : '' $>"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label">传真</label>
            <div class="col-xs-7">
                <input type="text" class="form-control" placeholder="传真" name="fax"
                       value="<$= typeof fax !== 'undefined' ? fax : '' $>"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-xs-9 col-xs-offset-3">
                <button type="submit" class="btn btn-primary" name="submit" value="提 交">提 交</button>
            </div>
        </div>
    </form>
</script>
<title>部门管理-后台管理系统</title>
</head>
<body class="sub-body">
<%- include('../../common/top-nav.html') %>
<%- include('../../common/page-title.html',{navs:[
{label:'系统管理',url:'javascript:void(0)'},
{label:'部门管理',url:'javascript:void(0)'},
]}) %>
<div class="content">
    <div class="panel panel-default">
        <div class="panel-body" style="height: 52px;">
            <div class="toolbar">

                <div class="pull-right">
                </div>
            </div>
        </div>
        <div class="table-responsive">
            <table class="table table-bordered table-hover">
            </table>
        </div>
        <div class="su-pager text-right"></div>
    </div>
</div>
<%- include('../../common/footer.html') %>
</body>
<!-- build:js ../../scripts/sys/dep/index.ba.jsx.js  -->
<script type="text/javascript" src="./index.js"></script>
<!-- endbuild -->
</html>